package com.softwarerusher.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TMember entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TMember implements java.io.Serializable {

	// Fields

	private String memberId;
	private TDiscountrank TDiscountrank;
	private String memberName;
	private String memberGender;
	private String memberEmail;
	private String memberPasswd;
	private String memberPhone;
	private String memberAddr;
	private Double memberBalance;
	private Set TOrders = new HashSet(0);
	private Set TRents = new HashSet(0);
	private Set TBookreturns = new HashSet(0);
	private Set TSells = new HashSet(0);
	private Set TReturnbooks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TMember() {
	}

	/** minimal constructor */
	public TMember(String memberId, TDiscountrank TDiscountrank,
			String memberName, String memberGender, String memberEmail,
			String memberPasswd, String memberPhone, String memberAddr) {
		this.memberId = memberId;
		this.TDiscountrank = TDiscountrank;
		this.memberName = memberName;
		this.memberGender = memberGender;
		this.memberEmail = memberEmail;
		this.memberPasswd = memberPasswd;
		this.memberPhone = memberPhone;
		this.memberAddr = memberAddr;
	}

	/** full constructor */
	public TMember(String memberId, TDiscountrank TDiscountrank,
			String memberName, String memberGender, String memberEmail,
			String memberPasswd, String memberPhone, String memberAddr,
			Double memberBalance, Set TOrders, Set TRents, Set TBookreturns,
			Set TSells, Set TReturnbooks) {
		this.memberId = memberId;
		this.TDiscountrank = TDiscountrank;
		this.memberName = memberName;
		this.memberGender = memberGender;
		this.memberEmail = memberEmail;
		this.memberPasswd = memberPasswd;
		this.memberPhone = memberPhone;
		this.memberAddr = memberAddr;
		this.memberBalance = memberBalance;
		this.TOrders = TOrders;
		this.TRents = TRents;
		this.TBookreturns = TBookreturns;
		this.TSells = TSells;
		this.TReturnbooks = TReturnbooks;
	}

	// Property accessors

	public String getMemberId() {
		return this.memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public TDiscountrank getTDiscountrank() {
		return this.TDiscountrank;
	}

	public void setTDiscountrank(TDiscountrank TDiscountrank) {
		this.TDiscountrank = TDiscountrank;
	}

	public String getMemberName() {
		return this.memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getMemberGender() {
		return this.memberGender;
	}

	public void setMemberGender(String memberGender) {
		this.memberGender = memberGender;
	}

	public String getMemberEmail() {
		return this.memberEmail;
	}

	public void setMemberEmail(String memberEmail) {
		this.memberEmail = memberEmail;
	}

	public String getMemberPasswd() {
		return this.memberPasswd;
	}

	public void setMemberPasswd(String memberPasswd) {
		this.memberPasswd = memberPasswd;
	}

	public String getMemberPhone() {
		return this.memberPhone;
	}

	public void setMemberPhone(String memberPhone) {
		this.memberPhone = memberPhone;
	}

	public String getMemberAddr() {
		return this.memberAddr;
	}

	public void setMemberAddr(String memberAddr) {
		this.memberAddr = memberAddr;
	}

	public Double getMemberBalance() {
		return this.memberBalance;
	}

	public void setMemberBalance(Double memberBalance) {
		this.memberBalance = memberBalance;
	}

	public Set getTOrders() {
		return this.TOrders;
	}

	public void setTOrders(Set TOrders) {
		this.TOrders = TOrders;
	}

	public Set getTRents() {
		return this.TRents;
	}

	public void setTRents(Set TRents) {
		this.TRents = TRents;
	}

	public Set getTBookreturns() {
		return this.TBookreturns;
	}

	public void setTBookreturns(Set TBookreturns) {
		this.TBookreturns = TBookreturns;
	}

	public Set getTSells() {
		return this.TSells;
	}

	public void setTSells(Set TSells) {
		this.TSells = TSells;
	}

	public Set getTReturnbooks() {
		return this.TReturnbooks;
	}

	public void setTReturnbooks(Set TReturnbooks) {
		this.TReturnbooks = TReturnbooks;
	}

}